//
//  DetailFact_VC.h
//  WorldOfFacts_V2
//
//  Created by Demjanko Denis on 22.11.12.
//  Copyright (c) 2012 it-dimension. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ATPagingView.h"
#import "MBProgressHUD.h"
#import "FactBottomMenu.h"
#import "MWPhotoBrowser.h"

@interface DetailFact_VC : ATPagingViewController <MWPhotoBrowserDelegate,MFMailComposeViewControllerDelegate>{
    //top
    UIButton *favoriteButton;
    
    //content
    NSMutableDictionary *fact;
    NSMutableArray *factIds;
    NSMutableArray *photos;
        
    //bottom
    FactBottomMenu *bottomMenu;
    FactBottomMenu *shareMenu;
    BOOL isShare;
    int bottom_fact_id;

    //loading
    MBProgressHUD *hud;
}

@property (nonatomic,assign) int fact_id;
@property (nonatomic,assign) int fact_number;
@property (nonatomic,assign) int category_id;
@property (nonatomic,assign) int fact_type;
@property (nonatomic,assign) int fact_mode; //1 list - 2  fav - 3 top
@property (nonatomic,strong) NSMutableArray *factIds;

-(IBAction)onLike:(UIButton*)sender;
-(IBAction)onComment:(UIButton*)sender;
-(IBAction)onShare:(UIButton*)sender;

-(IBAction)onFacebook:(UIButton*)sender;
-(IBAction)onVkontakte:(UIButton*)sender;
-(IBAction)onEmail:(UIButton*)sender;
-(IBAction)onOther:(UIButton*)sender;

@end
